package router

import (
	"github.com/gin-gonic/gin"
	"leetcode/ddaa/cntrll"
	"leetcode/ddaa/middle"
)

func Router(engine *gin.Engine) {

	engine.POST("/login", cntrll.Login)
	engine.GET("/statsData", middle.IsloginMiddle, cntrll.Sdata)

}
